package pers.lance.jmsproject.dao;

import pers.lance.jmsproject.pojo.User;

import java.util.List;

/**
 * @author Lance Li
 * @date 7/10/2018 2:51 PM
 * @desc
 */
public interface UserDao {
    public List<User> finAllUsers();
    public int addUser(User User);
    public int updateUser(int id, User User);
    public int deleteUser(int id);
    public User loadUser(int id);
    public int[] addUsers(List<User> Users);
}
